<template>
  <div>
    <h1>news</h1>
    <ul>
      <li>
        <nuxt-link :to="{name:'index'}">HOME</nuxt-link>
      </li>
      <li>
        <nuxt-link :to="{name:'about'}">about</nuxt-link>
      </li>
    </ul>
    <p>newsId:{{ $route.params.newsId }}</p>
  </div>
</template>

<script>
export default {
  name: "index",
  transition: 'test',
}
</script>

<style scoped>

</style>
